<?php
// Define path to application directory vincent
defined('APPLICATION_PATH')
    || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/application'));

// Define application environment
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'development');

// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(APPLICATION_PATH . '/../library'),
    get_include_path(),
)));

$Web = "http://localhost/";
$Ftp = "http://192.168.8.2/";
$Location = $_SERVER['DOCUMENT_ROOT']."/guolin/";
$Directory = explode("/", $Location);
defined('WEB_TITLE')
||define("WEB_TITLE","Guolin");

//定义APK文件存放路径
defined('APK_PATH')
||define("APK_PATH","D:\\Mediad\\ftp\\VersionUpdate\\");

//定义网站部署路径 	*部署时一定需要重新配置
defined('WEB_PATH')
||define("WEB_PATH",$Web."guolin/");

//定义文件存放路径
defined('FILE_PATH')
||define("FILE_PATH",WEB_PATH."files/");

//定义日志及缓存路径 d:\log\
defined('LOGCACHE_PATH')
||define("LOGCACHE_PATH",$Directory[0]."/log/");

//文件系统目录
defined('ROOT_PATH')
||define("ROOT_PATH",$Location);

//缩略图存放路径
defined('THUMB_PATH')
||define("THUMB_PATH","files/thumb/");

//REVIEW
defined('REVIEW_PATH')
||define("REVIEW_PATH","files/review/");

//TEMP
defined('TEMP_PATH')
||define("TEMP_PATH","files/temp/");

//定义文件目录
defined('FILE_LOCATION')
||define("FILE_LOCATION",$Location."files/");

//定义APK下载路径
defined('DOWNLOAD_PATH')
||define("DOWNLOAD_PATH", $Web."download/");

//定义APK名称
defined('DOWNLOAD_APKNAME')
||define("DOWNLOAD_APKNAME", "android_pad.apk");

//定义网站模块图片路径
defined('IMG_PATH')
||define("IMG_PATH", WEB_PATH . "skin/img/");

//定义验证码图标路径
defined('VKIMG_PATH')
||define("VKIMG_PATH", APPLICATION_PATH. "../var/cache/");

defined('VKIMG_WEBPATH')
||define("VKIMG_WEBPATH", WEB_PATH."var/cache/");

// 验证字串加密KEY
define('_VAL_KEY_', 'MeetingMananger201306');

// 最大上传文件大小=10M
define('MAX_FILESIZE_IN_BYTES', 1000*1000*10);
//jquery.cookie.js 更新20130710 增加对json的支持 by vincent
//bootcssed        更新20130710 增加更多的icon by vincent
